#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;

int main()
{

	//const int a1 = 2;
	//int* p1 = (int*)&a1;
	//*p1 = 3;
	//cout << a1 << endl;
	//cout << *p1 << endl;

	volatile const int a1 = 2;
	int* p1 = const_cast<int*>(&a1);
	*p1 = 3;
	cout << a1 << endl;
	cout << *p1 << endl;



	return 0;
}
